package com.example.inter.tourdemo.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.Toast;

import com.example.inter.tourdemo.MainActivity;
import com.example.inter.tourdemo.R;

import me.yokeyword.fragmentation.SupportActivity;

public class OrderTotal extends SupportActivity {


    private ImageView total_iv0601;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_order_total);

        total_iv0601 = (ImageView)findViewById(R.id.total_iv0601);

        total_iv0601.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

//                Toast.makeText(OrderTotal.this, "我进行了点击", Toast.LENGTH_SHORT).show();
                Intent intent = new Intent(OrderTotal.this, MainActivity.class);
                intent.putExtra("id",1);
                startActivity(intent);
            }
        });
    }
}
